home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / DropTransP.h.z / DropTransP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.6 KB  |  137 lines

  1. /*
  2.  * DropTransP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: DropTransP.h /main/cde1_maint/2 1995/08/18 19:02:57 drk $ */
  36. /*
  37. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  38.  
  39. #ifndef _XmDropTransferP_h
  40. #define _XmDropTransferP_h
  41.  
  42. #include <Xm/DropTrans.h>
  43. #include <Xm/XmP.h>
  44.  
  45.  
  46. #ifdef __cplusplus
  47. extern "C" {
  48. #endif
  49.  
  50. /*  DropTransfer class structure  */
  51.  
  52. #ifdef _NO_PROTO
  53. typedef Widget (*XmDropTransferStartTransferProc)();
  54. typedef void (*XmDropTransferAddTransferProc)();
  55. #else
  56. typedef Widget (*XmDropTransferStartTransferProc)(Widget,
  57.     ArgList, Cardinal);
  58. typedef void (*XmDropTransferAddTransferProc)(Widget,
  59.     XmDropTransferEntry, Cardinal);
  60. #endif
  61.  
  62. typedef struct _XmDropTransferClassPart
  63. {
  64.     XmDropTransferStartTransferProc    start_drop_transfer;
  65.     XmDropTransferAddTransferProc    add_drop_transfer;
  66.     XtPointer extension;
  67. } XmDropTransferClassPart;
  68.  
  69. /*  Full class record declaration */
  70.  
  71. typedef struct _XmDropTransferClassRec
  72. {
  73.    ObjectClassPart        object_class;
  74.    XmDropTransferClassPart dropTransfer_class;
  75. } XmDropTransferClassRec;
  76.  
  77. externalref XmDropTransferClassRec xmDropTransferClassRec;
  78.  
  79.  
  80. typedef struct _XmDropTransferListRec {
  81.     XmDropTransferEntry    transfer_list;
  82.     Cardinal        num_transfers;
  83. } XmDropTransferListRec, * XmDropTransferList;
  84.  
  85.  
  86. /*  The DropTransfer instance record  */
  87.  
  88. typedef struct _XmDropTransferPart
  89. {
  90.     XmDropTransferEntry        drop_transfers;
  91.     Cardinal            num_drop_transfers;
  92.     Atom            selection;
  93.     Widget            dragContext;
  94.     Time            timestamp;
  95.     Boolean            incremental;
  96.     Window            source_window;
  97.     unsigned int        tag;
  98.     XtSelectionCallbackProc     transfer_callback;
  99.     unsigned char        transfer_status;
  100.  
  101.     Atom             motif_drop_atom;
  102.     
  103.     XmDropTransferList        drop_transfer_lists;
  104.     Cardinal            num_drop_transfer_lists;
  105.     Cardinal            cur_drop_transfer_list;
  106.     Cardinal            cur_xfer;
  107.     Atom *            cur_targets;
  108.     XtPointer *            cur_client_data;
  109. } XmDropTransferPart;
  110.  
  111. /*  Full instance record declaration  */
  112.  
  113. typedef struct _XmDropTransferRec
  114. {
  115.     ObjectPart    object;
  116.     XmDropTransferPart dropTransfer;
  117. } XmDropTransferRec;
  118.  
  119.  
  120. /********    Private Function Declarations    ********/
  121. #ifdef _NO_PROTO
  122.  
  123.  
  124. #else
  125.  
  126.  
  127. #endif /* _NO_PROTO */
  128. /********    End Private Function Declarations    ********/
  129.  
  130.  
  131. #if defined(__cplusplus) || defined(c_plusplus)
  132. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  133. #endif
  134.  
  135. #endif /* _XmDropTransferP_h */
  136. /* DON'T ADD ANYTHING AFTER THIS #endif */
  137.